package com.uum.admin.pojo.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.uum.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class UserPageVO extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户ID")
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "逻辑删除 0未删除 1已删除")
    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "是否禁用 0未禁用 1已禁用")
    private Integer isDisabled;

    @ApiModelProperty(value = "账号状态 0未激活 1已激活")
    private Integer status;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "创建者Id")
    private Long createUserId;

    @ApiModelProperty(value = "创建方式")
    private String createMethod;

    @ApiModelProperty("角色名称，多个使用英文逗号(,)分割")
    private String roleNames;

}
